package com.lzl.abstractpattern;

public class PaymentTest {
    public static void main(String[] args) {
        IPayment payment = new AliPayFactory();
        payment.paymentFlow().flow();
        payment.paymentMode().pay();
    }
}
